 /*
 * @Descripttion:
 * @Author:xiayujia
 * @Date: 2021-07-3 00:24:27
 * @LastEditors: xiayujia
 * @LastEditTime: 2021-07-5 00:48:28
 */
 import request from '@/utils/request'


 //获得列表
 export function getDataList(officeName,startDate,endDate){
   return request({
     url:'/distribution/receiptManager/getReceipt?officeName='+officeName+'&beginTime='+startDate+'&endTime='+endDate,
     method: 'get', 
   })
 } 

 
 //删除表格或文件
 export function  deleteOffice(id){
   return request({
     url:'/distribution/receiptManager/deleteOffice?id='+id,
     method: 'get', 
   })
 } 

//获取表格表头
export function table(officeId){
  return request({
    url:'/distribution/receiptManager/table?officeId='+officeId,
    method: 'get', 
  })
} 

//获取文件
export function word(id){
  return request({
    url:'/distribution/receiptManager/Word?id='+id,
    method: 'get', 
  })
} 

//获取文件列表
export function getWordList(id){
  return request({
    url:'/distribution/receiptManager/getWordList?id='+id,
    method: 'get', 
  })
} 